package com.fuzhixuan.springcloud.dao;

import com.fuzhixuan.cloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PaymentDao {
    int create(Payment payment);

    int update(Payment payment);

    Payment getPaymentById(@Param("id") Integer id);
}